package com.ruoyi.mall.entity;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 优惠劵对象 mall_coupons
 * 
 * @author ruoyi
 * @date 2020-05-25
 */
public class MallCoupons extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 劵id */
    private Long couponsId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 数量 */
    @Excel(name = "数量")
    private Long num;

    /** 劵包id */
    @Excel(name = "劵包id")
    private Long packageId;

    /** 有效天数 */
    @Excel(name = "有效天数")
    private Long effectiveDays;

    /** 使用时间 */
    @Excel(name = "使用时间")
    private String useTime;

    /** 劵类型 */
    @Excel(name = "劵类型")
    private Long couponsType;

    /** 限制条件 */
    @Excel(name = "限制条件")
    private String couponsLimit;
    /** 目标商品或分类 */
    @Excel(name = "目标商品或分类")
    private String aims;

    public String getScenes() {
        return scenes;
    }

    public void setScenes(String scenes) {
        this.scenes = scenes;
    }

    /** 范围 */
    @Excel(name = "范围")
    private String scenes;

    public void setCouponsId(Long couponsId) 
    {
        this.couponsId = couponsId;
    }

    public Long getCouponsId() 
    {
        return couponsId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }
    public void setPackageId(Long packageId) 
    {
        this.packageId = packageId;
    }

    public Long getPackageId() 
    {
        return packageId;
    }
    public void setEffectiveDays(Long effectiveDays) 
    {
        this.effectiveDays = effectiveDays;
    }

    public Long getEffectiveDays() 
    {
        return effectiveDays;
    }

    public String getAims() {
        return aims;
    }

    public void setAims(String aims) {
        this.aims = aims;
    }

    public void setUseTime(String useTime)
    {
        this.useTime = useTime;
    }

    public String getUseTime()
    {
        return useTime;
    }
    public void setCouponsType(Long couponsType)
    {
        this.couponsType = couponsType;
    }

    public Long getCouponsType()
    {
        return couponsType;
    }
    public void setCouponsLimit(String couponsLimit)
    {
        this.couponsLimit = couponsLimit;
    }

    public String getCouponsLimit()
    {
        return couponsLimit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("couponsId", getCouponsId())
            .append("title", getTitle())
            .append("num", getNum())
            .append("packageId", getPackageId())
            .append("effectiveDays", getEffectiveDays())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("useTime", getUseTime())
            .append("couponsType", getCouponsType())
            .append("couponsLimit", getCouponsLimit())
            .toString();
    }
}
